DescribeRiskType
Description
obtain all risk classification information for baseline inspection, and obtain the specified inspection policy or the number of pending risk items in the specified host under the risk classification.
Request Method
POST
Request Path
/apsara/route/aegis/DescribeRiskType
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
StrategyId | BODY | long | No | No sample value for this parameter. | baseline check policy ID. |
Uuids | BODY | string | No | No sample value for this parameter. | host asset UUID, specifying multiple host asset UUIDs separated. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
TypeName | string | no demo value | sub-risk classification code. |
RequestId | string | no demo value | request ID. |
SubTypes | array | no demo value | sub-risk classification list, see the following parameter description for specific sub-items. |
Alias | string | no demo value | sub-risk category name. |
RiskTypes | array | no demo value | Risk classification list, see the following parameter description for specific sub-items. |
WarnCount | string | no demo value | number of risk items detected. |
Count | integer | no demo value | Number of risk categories returned. |
Example
Successful Response example
{
"TypeName":"no demo value",
"RequestId":"no demo value",
"SubTypes":"no demo value",
"Alias":"no demo value",
"RiskTypes":"no demo value",
"WarnCount":"no demo value",
"Count":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}